﻿using Loki.IoC;
using Luna.UI.Config;
using Luna.UI.CRM;

namespace Luna.UI
{
    public class ViewModelInstaller : LokiContextInstaller
    {
        public static IContextInstaller All
        {
            get
            {
                return new LokiContextInstaller().Merge(Main, Contacts, Budget);
            }
        }

        private static MainViewModelInstaller _Main = new MainViewModelInstaller();

        public static MainViewModelInstaller Main
        {
            get
            {
                return _Main;
            }
        }

        private static ContactViewModelInstaller _Contacts = new ContactViewModelInstaller();

        public static ContactViewModelInstaller Contacts
        {
            get
            {
                return _Contacts;
            }
        }

        private static BudgetViewModelInstaller _Budget = new BudgetViewModelInstaller();

        public static BudgetViewModelInstaller Budget
        {
            get
            {
                return _Budget;
            }
        }
    }
}